	.file	"index.c"
	.text
.globl reverse
	.type	reverse, @function
reverse:
	pushl	%ebp
	movl	%esp, %ebp
	subl	$40, %esp
	movl	$0, -16(%ebp)
	movl	8(%ebp), %eax
	movl	%eax, (%esp)
	call	strlen
	subl	$1, %eax
	movl	%eax, -20(%ebp)
	jmp	.L2
.L3:
	movl	-16(%ebp), %eax
	addl	8(%ebp), %eax
	movzbl	(%eax), %eax
	movb	%al, -9(%ebp)
	movl	-16(%ebp), %eax
	addl	8(%ebp), %eax
	movl	-20(%ebp), %edx
	addl	8(%ebp), %edx
	movzbl	(%edx), %edx
	movb	%dl, (%eax)
	movl	-20(%ebp), %eax
	addl	8(%ebp), %eax
	movzbl	-9(%ebp), %edx
	movb	%dl, (%eax)
	addl	$1, -16(%ebp)
	subl	$1, -20(%ebp)
.L2:
	movl	-16(%ebp), %eax
	cmpl	-20(%ebp), %eax
	jl	.L3
	leave
	ret
	.size	reverse, .-reverse
	.section	.rodata
.LC0:
	.string	"abcdefg"
	.text
.globl main
	.type	main, @function
main:
	pushl	%ebp
	movl	%esp, %ebp
	andl	$-16, %esp
	subl	$32, %esp
	movl	%gs:20, %eax
	movl	%eax, 28(%esp)
	xorl	%eax, %eax
	movl	.LC0, %eax
	movl	.LC0+4, %edx
	movl	%eax, 20(%esp)
	movl	%edx, 24(%esp)
	leal	20(%esp), %eax
	movl	%eax, (%esp)
	call	reverse
	movl	$0, %eax
	movl	28(%esp), %edx
	xorl	%gs:20, %edx
	je	.L7
	call	__stack_chk_fail
.L7:
	leave
	ret
	.size	main, .-main
	.ident	"GCC: (Ubuntu 4.4.1-4ubuntu8) 4.4.1"
	.section	.note.GNU-stack,"",@progbits
